﻿using CTP.CRM.Core.Email.Dto;
using CTP.CRM.Core.Email.Options;

namespace CTP.CRM.Core.Email
{

    public class EmailHelper
    {
        private static EmailOptions _options;

        internal static void Init(EmailOptions emailOptions)
        {
            _options = emailOptions;
        }

        public static EmailBuilder CreateInstance()
        {
            return new EmailBuilder(_options);
        }
    }
}
